import request from "@/utils/request.js";
import {id} from "element-plus/es/locale/index";


export const getGoodsInfoById = (id) =>
  request.get(`/goods/${id}`)

export const getCommodity = () =>
    request.get(`/goods`)